﻿<%@ Page Title="" Language="C#" MasterPageFile="~/DCTEDU_/CanBoMaster.master" AutoEventWireup="true"
    CodeBehind="ThayDoiMatKhau.aspx.cs" Inherits="QuanLyThietBi.DCTEDU_.ThayDoiMatKhau" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>Thay đổi mật khẩu</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:UpdatePanel ID="upPanel1" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <div class="row">
                <div class="col-md-12">
                    <section class="panel">
            <header class="panel-heading">
                Thay đổi mật khẩu</font>
            </header>
           
            <div class="panel-body">
                <div class="row"> 
                    <div class="col-xs-6 form-group">
                        <label class="col-sm-6 control-label">Mật khẩu cũ<span style="color: Red">(*)</span></label>
                        <div class="col-sm-6">
                        <asp:TextBox ID="txtMatKhau" TextMode="Password" runat="server" CssClass="form-control canh-float-left error"></asp:TextBox>
                         <asp:RequiredFieldValidator ID="RequiredFieldValidator1" SetFocusOnError="true"
                                    runat="server" ErrorMessage="*" ControlToValidate="txtMatKhau">
                                                <label class="control-label" for="inputError"><i class="fa fa-times-circle-o"></i> Chưa nhập</label>
                                            </asp:RequiredFieldValidator>
                        </div>
                    </div>
                    </div> 
                    <div class="row"> 
                    <div class="col-xs-6 form-group">
                        <label class="col-sm-6 control-label">Mật khẩu mới<span style="color: Red">(*)</span></label>
                        <div class="col-sm-6">
                         <asp:TextBox ID="txtMatKhauMoi" TextMode="Password" runat="server" CssClass="form-control canh-float-left error"></asp:TextBox>
                         <asp:RequiredFieldValidator ID="RequiredFieldValidator2" SetFocusOnError="true"
                                    runat="server" ErrorMessage="*" ControlToValidate="txtMatKhauMoi">
                                                <label class="control-label" for="inputError"><i class="fa fa-times-circle-o"></i> Chưa nhập</label>
                                            </asp:RequiredFieldValidator>
                      </div>
                   </div>  
                     </div> 
                    <div class="row"> 
                    <div class="col-xs-6 form-group">
                        <label class="col-sm-6 control-label">Xác nhận mật khẩu mới<span style="color: Red">(*)</span></label>
                        <div class="col-sm-6">
                         <asp:TextBox ID="txtMatKhauXacNhan" TextMode="Password" runat="server" CssClass="form-control canh-float-left error"></asp:TextBox>
                         <asp:RequiredFieldValidator ID="RequiredFieldValidator3" SetFocusOnError="true"
                                    runat="server" ErrorMessage="*" ControlToValidate="txtMatKhauXacNhan">
                                                <label class="control-label" for="inputError"><i class="fa fa-times-circle-o"></i> Chưa nhập</label>
                                            </asp:RequiredFieldValidator>
                        </div>
                    </div>
                    <div class="col-xs-12 form-group">
                    <div class="col-lg-6">
                    <asp:Button ID="cmdSave" runat="server" Text="Lưu" OnClick="cmdSave_OnClick" CssClass="btn btn-primary" />
                     </div>
                   </div>  
                </div>
                </section>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <asp:UpdateProgress runat="server" ID="UpdateProgress2" AssociatedUpdatePanelID="upPanel1">
        <ProgressTemplate>
            <div style="top: 20%; right: 50%; transition: all 300ms ease 100ms; color: Black;
                padding: 8px; position: fixed; z-index: 10000">
                <asp:Image runat="server" ID="imgloading" ImageUrl="~/Images/loading.gif" /></div>
        </ProgressTemplate>
    </asp:UpdateProgress>
</asp:Content>
